package com.lagou.dubbo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
//@ComponentScan(basePackages = {"com.lagou.dubbo"})
public class WebMainApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(WebMainApplication.class, args);
    }

    @Configuration
    @PropertySource("classpath:/application.properties")
    @EnableDubbo
    static class ConsumerConfiguration {

    }



}
